Optimal. Leaf size=57 \[ 98 x-9 x^3+x^5+\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {11}{2} \tan ^{-1}(x)-118 \sqrt {2} \tan ^{-1}\left (\frac {x}{\sqrt {2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {1682, 1690,
1180, 209} \begin {gather*} -\frac {11 \text {ArcTan}(x)}{2}-118 \sqrt {2} \text {ArcTan}\left (\frac {x}{\sqrt {2}}\right )+x^5-9 x^3+\frac {\left (103 x^2+102\right ) x}{2 \left (x^4+3 x^2+2\right )}+98 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 1180
Rule 1682
Rule 1690
Rubi steps
\begin {align*} \int \frac {x^6 \left (4+x^2+3 x^4+5 x^6\right )}{\left (2+3 x^2+x^4\right )^2} \, dx &=\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {1}{4} \int \frac {204+6 x^2-108 x^4+48 x^6-20 x^8}{2+3 x^2+x^4} \, dx\\ &=\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {1}{4} \int \left (-392+108 x^2-20 x^4+\frac {2 \left (494+483 x^2\right )}{2+3 x^2+x^4}\right ) \, dx\\ &=98 x-9 x^3+x^5+\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {1}{2} \int \frac {494+483 x^2}{2+3 x^2+x^4} \, dx\\ &=98 x-9 x^3+x^5+\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {11}{2} \int \frac {1}{1+x^2} \, dx-236 \int \frac {1}{2+x^2} \, dx\\ &=98 x-9 x^3+x^5+\frac {x \left (102+103 x^2\right )}{2 \left (2+3 x^2+x^4\right )}-\frac {11}{2} \tan ^{-1}(x)-118 \sqrt {2} \tan ^{-1}\left (\frac {x}{\sqrt {2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 58, normalized size = 1.02 \begin {gather*} 98 x-9 x^3+x^5+\frac {102 x+103 x^3}{2 \left (2+3 x^2+x^4\right )}-\frac {11}{2} \tan ^{-1}(x)-118 \sqrt {2} \tan ^{-1}\left (\frac {x}{\sqrt {2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 49, normalized size = 0.86
method | result | size |
default | \(x^{5}-9 x^{3}+98 x -\frac {x}{2 \left (x^{2}+1\right )}-\frac {11 \arctan \left (x \right )}{2}+\frac {52 x}{x^{2}+2}-118 \arctan \left (\frac {\sqrt {2}\, x}{2}\right ) \sqrt {2}\) | \(49\) |
risch | \(x^{5}-9 x^{3}+98 x +\frac {\frac {103}{2} x^{3}+51 x}{x^{4}+3 x^{2}+2}-\frac {11 \arctan \left (x \right )}{2}-118 \arctan \left (\frac {\sqrt {2}\, x}{2}\right ) \sqrt {2}\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 51, normalized size = 0.89 \begin {gather*} x^{5} - 9 \, x^{3} - 118 \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} x\right ) + 98 \, x + \frac {103 \, x^{3} + 102 \, x}{2 \, {\left (x^{4} + 3 \, x^{2} + 2\right )}} - \frac {11}{2} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 74, normalized size = 1.30 \begin {gather*} \frac {2 \, x^{9} - 12 \, x^{7} + 146 \, x^{5} + 655 \, x^{3} - 236 \, \sqrt {2} {\left (x^{4} + 3 \, x^{2} + 2\right )} \arctan \left (\frac {1}{2} \, \sqrt {2} x\right ) - 11 \, {\left (x^{4} + 3 \, x^{2} + 2\right )} \arctan \left (x\right ) + 494 \, x}{2 \, {\left (x^{4} + 3 \, x^{2} + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 54, normalized size = 0.95 \begin {gather*} x^{5} - 9 x^{3} + 98 x + \frac {103 x^{3} + 102 x}{2 x^{4} + 6 x^{2} + 4} - \frac {11 \operatorname {atan}{\left (x \right )}}{2} - 118 \sqrt {2} \operatorname {atan}{\left (\frac {\sqrt {2} x}{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.19, size = 51, normalized size = 0.89 \begin {gather*} x^{5} - 9 \, x^{3} - 118 \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} x\right ) + 98 \, x + \frac {103 \, x^{3} + 102 \, x}{2 \, {\left (x^{4} + 3 \, x^{2} + 2\right )}} - \frac {11}{2} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 50, normalized size = 0.88 \begin {gather*} 98\,x-\frac {11\,\mathrm {atan}\left (x\right )}{2}-118\,\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,x}{2}\right )+\frac {\frac {103\,x^3}{2}+51\,x}{x^4+3\,x^2+2}-9\,x^3+x^5 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________